<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./assets/mui/css/mui.css">
    <link rel="stylesheet" href="./assets/mui/css/iconfont.css">
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="./css/mtbase.css">
    <link rel="stylesheet" href="./css/search-list.css">
    <script src="./assets/artTemplate/template-web.js"></script>
    <script src="./assets/mui/js/mui.js"></script>
    <script src="./assets/zepto/zepto.min.js"></script>
    <script src="./js/search-list.js"></script>
</head>

<body>
    <header class="mui-bar mui-bar-nav header">
        <h1 class="mui-title">乐淘云购</h1>
        <a href="search.html" class="mui-icon mui-icon-search mui-pull-right"></a>
    </header>
    <nav class="mui-bar mui-bar-tab footer">
        <a class="mui-tab-item mui-active" href="index.html">
            <span class="mui-icon mui-icon-home"></span>
            <span class="mui-tab-label">首页</span>
        </a>
        <a class="mui-tab-item" href="category.html">
            <span class="mui-icon mui-icon-bars"></span>
            <span class="mui-tab-label">分类</span>
        </a>
        <a class="mui-tab-item" href="cart.html">
            <span class="mui-icon fa  fa-shopping-cart "></span>
            <span class="mui-tab-label">购物车</span>
        </a>
        <a class="mui-tab-item" href="user.html">
            <span class="mui-icon mui-icon-person"></span>
            <span class="mui-tab-label">会员中心</span>
        </a>
    </nav>
    <div class="mysearch-list" id='refreshContainer'>
        <div>
            <div class="top mui-clearfix">
                <button type="button" class=" mui-btn mui-btn-danger"id='priceSort'>价格<i class='mui-icon mui-icon-arrowdown'></i>
                </button>
                <button type="button" class=" mui-btn mui-btn-royal" id='lengNum'>销量<i
                        class='mui-icon mui-icon-arrowdown'></i></button>
            </div>
            <div class="center">
                <div class="lifeSports">
                    <ul class="mui-clearfix" id="ulBox">

                    </ul>
                </div>
            </div>
        </div>
    </div>
    <script type="html/text" id='tmp'>
        {{each  data item }}
    
             <li>
                <a href="">
                    <img src="{{item.pic[0].picAddr}}" alt="">
                    <span class="des">{{item.proName}}</span>
                    <p>
                        <span>&yen;{{item.price}}元</span>
                        <span>&yen;{{item.oldPrice}}元</span>
                    </p>
                    <button>立即剁手</button>
                </a>
            </li>


            {{/each}}
    
    </script>
</body>

</html>